home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000363_msapiro@ccsf.edu_Sat Nov 1 11:04:12 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2003-11-18
|
5KB
Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!iad-feed.news.verio.net!iad-peer.news.verio.net!news.verio.net!in.100proofnews.com!in.100proofnews.com!attla2!ip.att.net!usc.edu!newshub.csu.net!sand.ccsf.cc.ca.us!fog.ccsf.cc.ca.us!msapiro
From: Mark Sapiro <msapiro@ccsf.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Protocol Error: NAK out of window
Date: Fri, 31 Oct 2003 17:19:30 -0800
Organization: City College of San Francisco
Lines: 132
Message-ID: <Pine.HPX.4.44.0310311650430.13666-100000@fog.ccsf.cc.ca.us>
References: <Dg_nb.118720$h61.101506@news01.bloor.is.net.cable.rogers.com>
NNTP-Posting-Host: fog.ccsf.cc.ca.us
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-X-Sender: msapiro@fog.ccsf.cc.ca.us
In-Reply-To: <Dg_nb.118720$h61.101506@news01.bloor.is.net.cable.rogers.com>
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14618
On Thu, 30 Oct 2003, computer person wrote:
> Hi,
>
> I am pretty new to kermit but pretty computer savey. I built a script to
> connect to ministry of health to send health #'s for validity check. The
> file transfer fails around 25-30% of the time on error "Protocol Error: NAK
> out of window". Any ideas would be greatful. Do you think adding "robust"
> would do anything positive? I only get a few chances to submit a transfer
> per day so I try to keep the guesses to a minimum.
I was hoping Frank would respond to this one as his reply would be much
better than mine, I'm sure, but there's been no reply from Frank so maybe
tthis post didn't reach his news server even though it got to me and to
Google Groups.
Yes, I think "robust" would help. So might "set window-size 1". The
error message seems clear. I think the sender is receiving a NAK to
a packet that has already been released from the window, presumably because
it was already ACKed. This would indicate at least one side of the
transfer does not implement the protocol correctly. Your logs indicate
the sender (your side) is C-Kermit 8.0.209. I would guess the problem
is with the receiver. What Kermit is running there?
> My set up is as follows with a few comments added that are not in the
> running script:
>
> --------------
> SET DIAL DISPLAY ON
> set retry-limit 0 --this makes no difference ..
> set modem type generic -- tried 3 different modems and they all get the NAK
> error occasionally..usr, boca and creativelabs
> set line /dev/tty1
> set speed 38400
> set stop-bits 1
> SET FLOW RTS/CTS
> set protocol kermit
> dial 19999999999 (fake #)
> INPUT 8 {Please log on}
> IF FAIL quit 1 MSG999 did not present a login prompt. Run Terminated.
> PAUSE 1
> OUTPUT useridxx\{13}
> INPUT 8 {Password?}
> IF FAIL quit 1 MSG999 did not present a Password prompt. Run Terminated.
> PAUSE 1
> OUTPUT pwxxxxx\{13}
> <some snipped>
Presumably the snipped part has to do with starting a Kermit receiver
at the remote end. Again, what Kermit is this? How does it identify
itself?
> send filename.txt
> SET EXIT WARNING OFF
Instead of the above, why not "close connection" and/or "hangup"?
> EXIT
> --------------
>
> here is the transaction log from kermit:
>
> Transaction Log: C-Kermit 8.0.209, 17 Mar 2003
> IBM AIX 4.3
> Tue Oct 28 06:44:07 2003
>
> Transaction begins Tue Oct 28 06:44:52 2003
>
> Global file mode: binary
>
> Sending filename.txt
> as filename.TXT
> mode: text
> xfer character set ASCII
> file character set US ASCII
> complete, size: 60517
>
> Transaction complete Tue Oct 28 06:45:33 2003
>
> elapsed time (seconds) : 31
> effective data rate : 1895
>
> Protocol Error: NAK out of window
>
> Transaction complete Tue Oct 28 06:45:33 2003
>
> elapsed time (seconds) : 32
> effective data rate : 1856
>
> failed: NAK out of window
> Transaction Log Closed
This seems to indicate the error doesn't occur until after the send
completed. I don't know why this would be, but it seems clear that
at least one side is doing something wrong. Is the file received
completely in this case?
>
> ----
>
> Here is the same log of one that worked with no changes to the script:
>
> Transaction Log: C-Kermit 8.0.209, 17 Mar 2003
> IBM AIX 4.3
> Tue Oct 28 16:11:46 2003
>
> Transaction begins Tue Oct 28 16:12:49 2003
>
> Global file mode: binary
>
> Sending filename.txt
> as filename.TXT
> mode: text
> xfer character set ASCII
> file character set US ASCII
> complete, size: 62854
>
> Transaction complete Tue Oct 28 16:13:18 2003
>
> elapsed time (seconds) : 20
> effective data rate : 2996
>
> Transaction Log Closed
>
> ---
>
--
Mark Sapiro <msapiro@value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan